<?php
#+------------------------------------------------------------------
#| 普通的。
#+------------------------------------------------------------------
#| Author:Janmas Cromwell <janmas-cromwell@outlook.com>
#+------------------------------------------------------------------
namespace app\library\websocket\event;

use Swoole\WebSocket\Server;

class CloseEvent
{
    public static function handle(Server $server, int $fd)
    {
        echo "[" . date('Y-m-d H:i:s', time()) . "]fd:[{$fd}]---------下线了" . PHP_EOL;
    }
}
